@{
    var screenName = "jsenior";
}

<h3>Twitter.GetUserTimeline() Method</h3>

<p>Use the following code to retrieve the most recent statuses posted by the authenticating user, or another user's timeline by using the screenName or userId parameter.</p>

<pre class="codePre">
@@ {
    <strong>var timeline = Twitter.GetUserTimeline(screenName: "@screenName");</strong>
    var grid = new WebGrid(timeline);
}
</pre>
@{
    var timeline = Twitter.GetUserTimeline(screenName: screenName);
    var grid = new WebGrid(timeline);
}
@SampleHelpers.RenderTimelineGrid(grid)